package com.yuncheng.spcyApi.dto;

import io.swagger.annotations.ApiModelProperty;

/**
 * 系统菜单路由-dto
 */
public class SysMenuDto {
    @ApiModelProperty(value = "菜单id")
    private String id;

    @ApiModelProperty(value = "父菜单id")
    private String parentId;

    @ApiModelProperty(value = "菜单路径")
    private String path;

    @ApiModelProperty(value = "菜单名称")
    private String name;

    @ApiModelProperty(value = "组件")
    private String component;

    @ApiModelProperty(value = "菜单图标")
    private String icon;

    @ApiModelProperty(value = "是否后端（1：是/2: 否）")
    private Integer back;

    @ApiModelProperty(value = "应用顶级菜单（1：顶级菜单/0：非顶级菜单）")
    private String topFlag;

    @ApiModelProperty(value = "组合参数")
    private String componentProps;

    @ApiModelProperty(value = "菜单角标数量")
    private Integer count = 0;

    @ApiModelProperty(value = "是否显示菜单（true: 显示）")
    private boolean view = true;

    @ApiModelProperty(value = "是否打开子菜单（true: 打开）")
    private boolean open = false;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getComponent() {
        return component;
    }

    public void setComponent(String component) {
        this.component = component;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Integer getBack() {
        return back;
    }

    public void setBack(Integer back) {
        this.back = back;
    }

    public String getTopFlag() {
        return topFlag;
    }

    public void setTopFlag(String topFlag) {
        this.topFlag = topFlag;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }



    public String getComponentProps() {
        return componentProps;
    }

    public void setComponentProps(String componentProps) {
        this.componentProps = componentProps;
    }

    public boolean isView() {
        return view;
    }

    public void setView(boolean view) {
        this.view = view;
    }

    public boolean isOpen() {
        return open;
    }

    public void setOpen(boolean open) {
        this.open = open;
    }
}
